"use strict";
/** 
 * 自动化测量的中心线记录
 */
module.exports = function (sequelize, DataTypes) {
    var SurveyCenter = sequelize.define("SurveyCenter", {
        e: {
            type: DataTypes.DOUBLE,
            field: 'E'
        },
        n: {
            type: DataTypes.DOUBLE,
            field: 'N'
        },
        h: {
            type: DataTypes.DOUBLE,
            field: 'H'
        },
        mileage: {
            type: DataTypes.DOUBLE,
            field: 'Mileage'
        },
        no: {
            type: DataTypes.INTEGER,
            field: 'No',
        },
        id: {
            type: DataTypes.INTEGER,
            field: 'Id',
            autoIncrement: true,
            primaryKey: true
        },
        prjId: {
            type: DataTypes.INTEGER,
            field: 'PrjId'
        }
    }, {
            freezeTableName: true,
            timestamps: false,
        });
    return SurveyCenter;
}